package com.example.demo.datasource.multi.dao;


import com.example.demo.datasource.multi.config.MultiDataSourceConfig;
import com.example.demo.datasource.multi.entity.notice;
import com.example.demo.datasource.multi.entity.notice2;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@MultiDataSourceConfig.test1Dao
public interface noticemapper {

    public notice gettopnotice(@Param(value = "value")String sql);

    public List<notice> getnoticelist(@Param(value = "value")String sql);

    public List<notice2> getnoticelist2(@Param(value = "value")String sql);
}
